//
//  detCance.swift
//  NewLndd
//
//  Created by 邵禹曦 on 2020/1/8.
//  Copyright © 2020 辽宁当代. All rights reserved.
//

import UIKit
// MARK: - 已撤单查询
class detCance: NSObject {
    // MARK: - 属性
    var CON : String?  = "---"    // 商品名称
    var COI : String?     = "---"  // 商品代码
    var ON : String?   = "---"       // 挂单号
    var BS : String?    = "---"    // 买卖方向
    var OP : String?     = "---"    // 挂单价格
    var OQ : String?   = "---" //OQ挂单数量
    var BAL : String?  = "---"   //未成交数量
    var OS : String?   = "---" //状态
    var OT : String?   = "---" //挂单时间
    var WDT : String?    = "---" // 撤单时间
    
    // MARK: - 自定义构造函数
    init(dict : [String : AnyObject]) {
        super.init()
        setValuesForKeys(dict)
        print(dict)
        //COI = (dict["COI"] as? String)
        CON = (dict["CON"] as? String)
        //ON = (dict["ON"] as? String)
        BS = (dict["BS"] as? String)
        OP = (dict["OP"] as? String)
        OQ = (dict["OQ"] as? String)
        BAL = (dict["BAL"] as? String)
        OS = (dict["OS"] as? String)
        OT = (dict["OT"] as? String)
        WDT = (dict["WDT"] as? String)
        
        
    }
    // 重写
    override func setValue(_ value: Any?, forUndefinedKey key: String) {}
}
